﻿using B.S.Backtrack.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace B.S.Backtrack.Infrastructure
{
    public class BTDBContext : DbContext
    {
        public BTDBContext(DbContextOptions options) : base(options)
        {
        }

        /// <summary>
        /// 养殖信息
        /// </summary>
        public DbSet<Culture> Cultures { get; set; }
        /// <summary>
        /// 企业信息
        /// </summary>
        public DbSet<Firm> Firms { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public DbSet<Goods> Goods { get; set; }
        /// <summary>
        /// 保健信息
        /// </summary>
        public DbSet<Health> Healths { get; set; }
        /// <summary>
        /// 图片表
        /// </summary>
        public DbSet<Picture>  Pictures { get; set; }
        /// <summary>
        /// 深加工信息
        /// </summary>
        public DbSet<Processing> Processings { get; set; }
        /// <summary>
        /// 产品表
        /// </summary>
        public DbSet<Products>  Products { get; set; }
        /// <summary>
        /// 屠宰
        /// </summary>
        public DbSet<Slaughter> Slaughters { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public DbSet<Supplier> Suppliers { get; set; }
        /// <summary>
        /// 账号
        /// </summary>

        public DbSet<Account> Accounts { get; set; }
        

    }
}
